package com.sptpc.stu.service;

import com.sptpc.stu.common.response.JSONResponse;
import com.sptpc.stu.controller.request.AddNewUserRequest;
import com.sptpc.stu.controller.request.UserBasicInfoRequest;
import com.sptpc.stu.controller.request.UserLoginInfoRequest;
import com.sptpc.stu.model.my.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {

    JSONResponse getAllUser();

    JSONResponse updateUserBasicInfo(UserBasicInfoRequest changeUserBasicInfo);

    JSONResponse updateUserLoginInfo(UserLoginInfoRequest changeUserLoginInfo);

    JSONResponse getRandomUserinfo();

    JSONResponse deleteUser(Long uid);
}
